#!/bin/bash
rm -rf /etc/yum.repos.d/*.repo
echo "[BaseOS]
name=base
baseurl=http://server.localhost/BaseOS
gpgcheck=0
enabled=1
[AppStream]
name=stream
baseurl=http://server.localhost/AppStream
gpgcheck=0
enabled=1" > /etc/yum.repos.d/yum.repo